﻿@using WaterRevenueMS.WebUI.Extension.MvcHelper
@using WaterRevenueMS.Domain.ViewModels.Customer.MeterInfo
@model MeterInfoModel

@using (Html.BeginForm("Edit", "MeterInfo", FormMethod.Post, new { @class = "form-horizontal", @id = "modal-content" }))
{
@Html.HiddenFor(t => t.Id)
<div class="control-group">
    <label class="control-label-form">
        仪表名称 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Yi_BMC, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Yi_BMC)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
        仪表编号 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Yi_BBH, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Yi_BBH)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      仪表地址:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Yi_BDZ, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Yi_BDZ)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      仪表通道:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Yi_BDZ, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Yi_BDZ)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
       客户名称:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Yong_HSZ_No, Model.CustomerItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Yong_HSZ_No)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
       所属表册:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Biao_CSZ_No, Model.MeterBookItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Biao_CSZ_No)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
       收费方式:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Shou_FFS_No, Model.WayOfChargeItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Shou_FFS_No)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      用水性质:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Yong_SLX_No, Model.KindOfWaterUseItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Yong_SLX_No)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      仪表类型:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Yi_BLX_No, Model.MeterTypeItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Yi_BLX_No)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      中继类型:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Zhong_JLX_No, Model.RelayTypeItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Zhong_JLX_No)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      中继地址:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Zhong_JDZ, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Zhong_JDZ)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      中继通道:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Zhong_JTD, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Zhong_JTD)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      集中器类型:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Ji_ZQLX_No, Model.ConcentratorTypeItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Ji_ZQLX_No)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      集中器地址:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Ji_ZQDZ, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Ji_ZQDZ)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      集中器通道:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Ji_ZQTD, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Ji_ZQTD)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      手抄器类型:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Shou_CQLX_No, Model.HandSetItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Shou_CQLX_No)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      口径类型:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Shui_BKJ_No, Model.WaterCaliberItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Shui_BKJ_No)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      厂商名称:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Shui_BCS_No, Model.ManufacturerItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Shui_BCS_No)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      倍率:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Bei_L, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Bei_L)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      铅封号:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Qian_FH, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Qian_FH)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      安装位置:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.An_ZWZ, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.An_ZWZ)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
      启用日期
    </label>
    <div class="controls">
        @Html.DatePickerFor(t => t.Qi_YDT)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
       满程次数:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Man_CCS, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Man_CCS)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
       翻表次数:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Fan_BCS, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Fan_BCS)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
       排序序号:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.OrderNo, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.OrderNo)
    </div>
</div>
}